import "./assets/main.css";
import { createApp } from "vue";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from "./App.vue";

// 导入路由
import router from "./router/router.js";
// 导入pinia对象
import pinia from "./pinia";
let app = createApp(App);

// 全局使用路由
app.use(router);
// 全局使用pinia
app.use(pinia);
// 全局使用element-plus组件
app.use(ElementPlus, { size: 'small', zIndex: 3000 })
app.mount("#app");
